/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoexam.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 模拟考试名称Entity
 * @author zms
 * @version 2018-04-13
 */
public class CampusinfoExamName extends DataEntity<CampusinfoExamName> {
	
	private static final long serialVersionUID = 1L;
	private String examName;		// 考试名称
	private String examForshort;		// 考试简介
	private String payment;		// 考试费用
	private String examType;    //业务名称
	private String typeId;		// 业务id
	private String unLinement;		// 线下缴费说明
	private String examShort; //业务简介
	private String examImg; //业务图片
	public String getExamImg() {
		return examImg;
	}

	public void setExamImg(String examImg) {
		this.examImg = examImg;
	}

	public String getExamShort() {
		return examShort;
	}

	public void setExamShort(String examShort) {
		this.examShort = examShort;
	}

	public String getExamType() {
		return examType;
	}

	public void setExamType(String examType) {
		this.examType = examType;
	}
	public CampusinfoExamName() {
		super();
	}

	public CampusinfoExamName(String id){
		super(id);
	}

	@Length(min=1, max=64, message="考试名称长度必须介于 1 和 64 之间")
	public String getExamName() {
		return examName;
	}

	public void setExamName(String examName) {
		this.examName = examName;
	}
	
	@Length(min=0, max=512, message="考试简介长度必须介于 0 和 512 之间")
	public String getExamForshort() {
		return examForshort;
	}

	public void setExamForshort(String examForshort) {
		this.examForshort = examForshort;
	}
	
	@Length(min=1, max=64, message="考试费用长度必须介于 1 和 64 之间")
	public String getPayment() {
		return payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}
	
	@Length(min=1, max=64, message="业务id长度必须介于 1 和 64 之间")
	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}
	
	@Length(min=0, max=255, message="线下缴费说明长度必须介于 0 和 255 之间")
	public String getUnLinement() {
		return unLinement;
	}

	public void setUnLinement(String unLinement) {
		this.unLinement = unLinement;
	}
	
}